home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLMetaElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  6KB  |  167 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLMetaElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLMetaElement_h__
  6. #define __gen_nsIDOMHTMLMetaElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLMetaElement */
  19. #define NS_IDOMHTMLMETAELEMENT_IID_STR "a6cf908a-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLMETAELEMENT_IID \
  22.   {0xa6cf908a, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLMetaElement interface is the interface to a [X]HTML
  27.  * meta element.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-HTML/
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLMetaElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMETAELEMENT_IID)
  38.  
  39.   /* attribute DOMString content; */
  40.   NS_IMETHOD GetContent(nsAString & aContent) = 0;
  41.   NS_IMETHOD SetContent(const nsAString & aContent) = 0;
  42.  
  43.   /* attribute DOMString httpEquiv; */
  44.   NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) = 0;
  45.   NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) = 0;
  46.  
  47.   /* attribute DOMString name; */
  48.   NS_IMETHOD GetName(nsAString & aName) = 0;
  49.   NS_IMETHOD SetName(const nsAString & aName) = 0;
  50.  
  51.   /* attribute DOMString scheme; */
  52.   NS_IMETHOD GetScheme(nsAString & aScheme) = 0;
  53.   NS_IMETHOD SetScheme(const nsAString & aScheme) = 0;
  54.  
  55. };
  56.  
  57. /* Use this macro when declaring classes that implement this interface. */
  58. #define NS_DECL_NSIDOMHTMLMETAELEMENT \
  59.   NS_IMETHOD GetContent(nsAString & aContent); \
  60.   NS_IMETHOD SetContent(const nsAString & aContent); \
  61.   NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv); \
  62.   NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv); \
  63.   NS_IMETHOD GetName(nsAString & aName); \
  64.   NS_IMETHOD SetName(const nsAString & aName); \
  65.   NS_IMETHOD GetScheme(nsAString & aScheme); \
  66.   NS_IMETHOD SetScheme(const nsAString & aScheme); 
  67.  
  68. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  69. #define NS_FORWARD_NSIDOMHTMLMETAELEMENT(_to) \
  70.   NS_IMETHOD GetContent(nsAString & aContent) { return _to GetContent(aContent); } \
  71.   NS_IMETHOD SetContent(const nsAString & aContent) { return _to SetContent(aContent); } \
  72.   NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) { return _to GetHttpEquiv(aHttpEquiv); } \
  73.   NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) { return _to SetHttpEquiv(aHttpEquiv); } \
  74.   NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  75.   NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  76.   NS_IMETHOD GetScheme(nsAString & aScheme) { return _to GetScheme(aScheme); } \
  77.   NS_IMETHOD SetScheme(const nsAString & aScheme) { return _to SetScheme(aScheme); } 
  78.  
  79. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  80. #define NS_FORWARD_SAFE_NSIDOMHTMLMETAELEMENT(_to) \
  81.   NS_IMETHOD GetContent(nsAString & aContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContent(aContent); } \
  82.   NS_IMETHOD SetContent(const nsAString & aContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContent(aContent); } \
  83.   NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHttpEquiv(aHttpEquiv); } \
  84.   NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHttpEquiv(aHttpEquiv); } \
  85.   NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  86.   NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  87.   NS_IMETHOD GetScheme(nsAString & aScheme) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScheme(aScheme); } \
  88.   NS_IMETHOD SetScheme(const nsAString & aScheme) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScheme(aScheme); } 
  89.  
  90. #if 0
  91. /* Use the code below as a template for the implementation class for this interface. */
  92.  
  93. /* Header file */
  94. class nsDOMHTMLMetaElement : public nsIDOMHTMLMetaElement
  95. {
  96. public:
  97.   NS_DECL_ISUPPORTS
  98.   NS_DECL_NSIDOMHTMLMETAELEMENT
  99.  
  100.   nsDOMHTMLMetaElement();
  101.  
  102. private:
  103.   ~nsDOMHTMLMetaElement();
  104.  
  105. protected:
  106.   /* additional members */
  107. };
  108.  
  109. /* Implementation file */
  110. NS_IMPL_ISUPPORTS1(nsDOMHTMLMetaElement, nsIDOMHTMLMetaElement)
  111.  
  112. nsDOMHTMLMetaElement::nsDOMHTMLMetaElement()
  113. {
  114.   /* member initializers and constructor code */
  115. }
  116.  
  117. nsDOMHTMLMetaElement::~nsDOMHTMLMetaElement()
  118. {
  119.   /* destructor code */
  120. }
  121.  
  122. /* attribute DOMString content; */
  123. NS_IMETHODIMP nsDOMHTMLMetaElement::GetContent(nsAString & aContent)
  124. {
  125.     return NS_ERROR_NOT_IMPLEMENTED;
  126. }
  127. NS_IMETHODIMP nsDOMHTMLMetaElement::SetContent(const nsAString & aContent)
  128. {
  129.     return NS_ERROR_NOT_IMPLEMENTED;
  130. }
  131.  
  132. /* attribute DOMString httpEquiv; */
  133. NS_IMETHODIMP nsDOMHTMLMetaElement::GetHttpEquiv(nsAString & aHttpEquiv)
  134. {
  135.     return NS_ERROR_NOT_IMPLEMENTED;
  136. }
  137. NS_IMETHODIMP nsDOMHTMLMetaElement::SetHttpEquiv(const nsAString & aHttpEquiv)
  138. {
  139.     return NS_ERROR_NOT_IMPLEMENTED;
  140. }
  141.  
  142. /* attribute DOMString name; */
  143. NS_IMETHODIMP nsDOMHTMLMetaElement::GetName(nsAString & aName)
  144. {
  145.     return NS_ERROR_NOT_IMPLEMENTED;
  146. }
  147. NS_IMETHODIMP nsDOMHTMLMetaElement::SetName(const nsAString & aName)
  148. {
  149.     return NS_ERROR_NOT_IMPLEMENTED;
  150. }
  151.  
  152. /* attribute DOMString scheme; */
  153. NS_IMETHODIMP nsDOMHTMLMetaElement::GetScheme(nsAString & aScheme)
  154. {
  155.     return NS_ERROR_NOT_IMPLEMENTED;
  156. }
  157. NS_IMETHODIMP nsDOMHTMLMetaElement::SetScheme(const nsAString & aScheme)
  158. {
  159.     return NS_ERROR_NOT_IMPLEMENTED;
  160. }
  161.  
  162. /* End of implementation class template. */
  163. #endif
  164.  
  165.  
  166. #endif /* __gen_nsIDOMHTMLMetaElement_h__ */
  167.